﻿@using ES.Models
@model IList<Product>
<h3 style="height: 20px; border-bottom: 1px solid #f3f3f3;">
    Ürün Listesi @(string.IsNullOrEmpty(ViewBag.CategoryName) ? "" : " | " + ViewBag.CategoryName)</h3>
<ul class="orderlinks">
    <li style="float: left; padding: 5px; border: 1px solid #f3f3f3; margin: 5px; list-style-type: none;">@UrlCreater.Create(ProductColumnEnum.Title, Request.Params)</li>
    <li style="float: left; padding: 5px; border: 1px solid #f3f3f3; margin: 5px; list-style-type: none;">@UrlCreater.Create(ProductColumnEnum.Price, Request.Params)</li>
    <li style="float: left; padding: 5px; border: 1px solid #f3f3f3; margin: 5px; list-style-type: none;">@UrlCreater.Create(ProductColumnEnum.Model, Request.Params)</li>
</ul>
<div class="tab-content" style="display: block; float: left;">
<div class="items" style="width: 720px !important">
    <div class="cl">
        &nbsp;</div>
    <ul>
        @foreach (Product item in Model)
        {
            <li>
                @{Html.RenderPartial("SimpleProduct", item);}
                  <a href="@Url.Action("AddBasket", "My", new { id = item.Id })">Sepetten Ekle</a>
                        <a href="@Url.Action("Sale","Product",new {id=item.Id})">Satın Al</a>
            </li>
        }
    </ul>
    <div class="cl">
        &nbsp;</div>
</div>
</div>
